<template>
  <div>
    合计人数： {{ countNum.total||0 }} 人 ，介助{{countNum[2]||0}}人 ，介护 {{countNum[3]||0}}人
    注:另有{{props.nowRowData.unconformityNum}}人不符合补贴条件，其中未满 60 周岁{{props.nowRowData.lessSixtyNum}}人，政府供养{{props.nowRowData.govSupportNum}}人
    <aplid-base-crud :paramsObj="paramsObj" ref="crud" class="w-100" v-bind="baseConfig">
    </aplid-base-crud>
  </div>
</template>

<script setup lang="ts">
import { baseConfig } from './config'
import apiMod from '@/apiMod/index'
const crud = ref(null)
type Props = {
  nowRowData?: any
}
const props = withDefaults(defineProps<Props>(), {
  nowRowData: {}
})
let paramsObj = reactive({
  headId:props.nowRowData.soleValue
}) 
let countNum:any = ref({})
// 获取护理类别统计
const getCount = () =>{
 apiMod.view_dpOrgOperateSubsidyRoster_count({headId:props.nowRowData.soleValue}).then(res=>{
  countNum.value = res.data
 })
}
getCount()

</script>
<style scoped lang="scss">

</style>
